<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
   <meta charset="utf-8" />
   <title>云安全服务平台</title>
   <meta http-equiv="X-UA-Compatible" content="IE=edge">
   <meta content="width=device-width, initial-scale=1.0" name="viewport" />
   <meta content="" name="description" />
   <meta content="" name="author" />
   <meta name="MobileOptimized" content="320">
   <!-- BEGIN GLOBAL MANDATORY STYLES -->          
   <link href="/static/handleui/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
   <link href="/static/handleui/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
   <link href="/static/handleui/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
   <!-- END GLOBAL MANDATORY STYLES -->
   <!-- BEGIN PAGE LEVEL STYLES --> 
   <link rel="stylesheet" type="text/css" href="static/handleui/plugins/select2/select2_metro.css" />
   <!-- END PAGE LEVEL SCRIPTS -->
   <!-- BEGIN THEME STYLES --> 
   <link href="/static/handleui/css/style-metronic.css" rel="stylesheet" type="text/css"/>
   <link href="/static/handleui/css/style.css" rel="stylesheet" type="text/css"/>
   <link href="/static/handleui/css/style-responsive.css" rel="stylesheet" type="text/css"/>
   <link href="/static/handleui/css/plugins.css" rel="stylesheet" type="text/css"/>
   <link href="/static/handleui/css/themes/default.css" rel="stylesheet" type="text/css" id="style_color"/>
   <link href="/static/handleui/css/pages/login-soft.css" rel="stylesheet" type="text/css"/>
   <link href="/static/handleui/css/custom.css" rel="stylesheet" type="text/css"/>
   <!-- END THEME STYLES -->
   <link rel="shortcut icon" href="/static/handleui/img/favicon.ico" />
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body class="login">
   <!-- BEGIN LOGO -->
   <div class="logo">
      <img src="/static/handleui/img/logo-big.png" alt="" /> 
   </div>
   <!-- END LOGO -->
   <!-- BEGIN LOGIN -->
   <div class="content">
      <!-- BEGIN LOGIN FORM -->
      <form role="form" class="login-form" action="/results/" method="post"> {% csrf_token %}
         <h3 class="form-title" style="color:black;">欢迎使用</h3>
         <div class="alert alert-error hide">
            <button class="close" data-dismiss="alert"></button>
            <span> 请输入正确的邮箱地址或密码 </span>
         </div>
         <div class="form-body">
            
         {% if emailorpassworderror %}
         <div class="form-group has-error">
         {% else %}
         <div class="form-group">
         {% endif %}
             {% if emailorpassworderror %}
            <label class="control-label" for="inputError" style="color:#b94a48">
              请输入正确的邮箱地址或密码
             </label>
             {% endif %}
            <!--ie8, ie9 does not support html5 placeholder, so we just show field title for that-->
            <label class="control-label visible-ie8 visible-ie9">email</label>
            <div class="input-icon">
               <i class="icon-envelope"></i>
               <input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="@ihep.ac.cn" name="email" autofocus></input>
            </div>
         </div>
         {% if emailorpassworderror %}
             <div class="form-group has-error">
         {% else %}
             <div class="form-group">
         {% endif %}
            <label class="control-label visible-ie8 visible-ie9">Password</label>
            <div class="input-icon">
               <i class="icon-lock"></i>
               <input class="form-control placeholder-no-fix" type="password" autocomplete="off" placeholder="密码" name="password"/>
            </div>
         </div>
         <div class="form-actions">
            <button type="submit" class="btn blue pull-left" >
            本站登录<i class="m-icon-swapright m-icon-white"></i>
            </button>            
            <button class="btn red pull-right">
                <a href="https://login.ihep.ac.cn/oauth2/authorize?response_type=code&redirect_uri=http%3A%2F%2Fcloudsafe.ihep.ac.cn%2Fcallback&client_id=19562&theme=full">
                    统一认证登录
                </a>
            </button>
         </div>
         </div>
      </form>
      <!-- END LOGIN FORM -->        
   </div>
   <!-- END LOGIN -->
   <!-- BEGIN COPYRIGHT -->
   <div class="copyright">
      2013 &copy;中国科学院高能所计算中心 
   </div>
   <!-- END COPYRIGHT -->
   <!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
   <!-- BEGIN CORE PLUGINS -->   
   <!--[if lt IE 9]>
   <script src="/static/handleui/plugins/respond.min.js"></script>
   <script src="/static/handleui/plugins/excanvas.min.js"></script> 
   <![endif]-->   
   <script src="/static/handleui/plugins/jquery-1.10.2.min.js" type="text/javascript"></script>
   <script src="/static/handleui/plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
   <script src="/static/handleui/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
   <script src="/static/handleui/plugins/bootstrap-hover-dropdown/twitter-bootstrap-hover-dropdown.min.js" type="text/javascript" ></script>
   <script src="/static/handleui/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
   <script src="/static/handleui/plugins/jquery.blockui.min.js" type="text/javascript"></script>  
   <script src="/static/handleui/plugins/jquery.cookie.min.js" type="text/javascript"></script>
   <script src="/static/handleui/plugins/uniform/jquery.uniform.min.js" type="text/javascript" ></script>
   <!-- END CORE PLUGINS -->
   <!-- BEGIN PAGE LEVEL PLUGINS -->
   <script src="/static/handleui/plugins/jquery-validation/dist/jquery.validate.min.js" type="text/javascript"></script>
   <script src="/static/handleui/plugins/backstretch/jquery.backstretch.min.js" type="text/javascript"></script>
   <script type="text/javascript" src="/static/handleui/plugins/select2/select2.min.js"></script>
   <!-- END PAGE LEVEL PLUGINS -->
   <!-- BEGIN PAGE LEVEL SCRIPTS -->
   <script src="/static/handleui/scripts/app.js" type="text/javascript"></script>
   <script src="/static/handleui/scripts/login-soft.js" type="text/javascript"></script>      
   <!-- END PAGE LEVEL SCRIPTS --> 
   <script>
      jQuery(document).ready(function() {     
        App.init();
        Login.init();
      });
   </script>
   <!-- END JAVASCRIPTS -->
<script type="text/javascript">  var _gaq = _gaq || [];  _gaq.push(['_setAccount', 'UA-37564768-1']);  _gaq.push(['_setDomainName', 'keenthemes.com']);  _gaq.push(['_setAllowLinker', true]);  _gaq.push(['_trackPageview']);  (function() {    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;    ga.src = ('static/handleui/scripts/dc.js';    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);  })();</script></body>
<!-- END BODY -->
</html>
